#coding=utf-8
"""
Author:杭州多测师_付佳美
Time:2025/5/9 15:55
website:https://duoceshi.net
"""

# from ddt import ddt,data
# import unittest
#
#
# @ddt
# class TestDdt(unittest.TestCase):
#     def setUp(self) -> None:
#         print("每个测试用例执行之后都执行一遍")
#
#
#     def tearDown(self) -> None:
#         print("每个测试用例执行之后都执行一遍")
#
#     @data(1,'aa','bb')
#     def test_qq(self,value):
#         print(value)

# if __name__ == '__main__':
#     unittest.main()



from ddt import ddt,data
import unittest

@ddt
class TestDdt(unittest.TestCase):
    def setUp(self) -> None:
        print("每个测试用例执行之后都执行一遍")


    def tearDown(self) -> None:
        print("每个测试用例执行之后都执行一遍")

    @data((1, 'aa', 'bb'),(2,"cc","dd"))
    def test_qq(self, value):
        print(value)

if __name__ == '__main__':
    unittest.main()






